/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springWebTestNG.ioc.autowired;

/**
 *
 * @author winnie
 */
public class FlyBean {
    String theName;
    int age = 0;
    FlyBean spouse;
    String country;

    public FlyBean(String theName, int age) {
        this.theName = theName;
        this.age = age;
    }

    public FlyBean(String theName) {
        this.theName = theName;
    }
    
    public FlyBean() {
    }

    
    public void setAge(int age) {
        this.age = age;
    }

    public void setTheName(String theName) {
        this.theName = theName;
    }

    public int getAge() {
        return age;
    }

    public String getTheName() {
        return theName;
    }

    public void setSpouse(FlyBean spouse) {
        this.spouse = spouse;
    }

    public FlyBean getSpouse() {
        return spouse;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountry() {
        return country;
    }
    
    
    
}
